package uc.contancts;

public class Contancts {
	private String id;
	private String name;
	private String number;
	private String pinyin;

	public Contancts() {
	}

	public Contancts(String id, String name, String number) {
		super();
		this.id = id;
		this.name = name;
		this.number = number;
		this.pinyin = PinyinUtils.getPinyin(name);
	}


	public String getPinyin() {
		return PinyinUtils.getPinyin(name);
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

}
